package com.szqhyxj.youxiangju.biz.receipt.record;

import com.szqhyxj.youxiangju.biz.partnerHome.home.peasonalperformancerepayment.PeasonalRowsItem;
import com.szqhyxj.youxiangju.biz.receipt.receiptdetail.ReceiptDetailModel;
import com.szqhyxj.youxiangju.sys.BaseResult;

import java.util.ArrayList;
import java.util.List;

import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.functions.Consumer;
import io.reactivex.schedulers.Schedulers;

/**
 * Created by leung on 2018/11/26.
 */

public class ReceiptRecordPresenter implements ReceiptRecordContract.Presenter {

    ReceiptRecordContract.View view;
    int NUM;
    List<RowsItem> list;
    private int PAGENUMBER = 1;

    public ReceiptRecordPresenter(ReceiptRecordContract.View view) {
        this.view = view;
    }

    @Override
    public void onDestroy() {

    }


    @Override
    public void init() {
        view.showAll();
       // view.showDeviceReceiptFragment();

    }

    @Override
    public void load() {

    }

    @Override
    public void DeviceReceiptFragment() {
        view.showDeviceReceiptFragment();
    }

    @Override
    public void OnlineReceiptFragment() {
        view.showOnlineReceiptFragment();
    }
}
